<div class="row">
    <div class="col-md-12 col-sm-12 col-xs-12">
        <div class="x_panel">
            <div class="x_title">
                <h2>基本配置<small>列表</small></h2>
                <div class="clearfix"></div>
            </div>
            <div class="row-fluid">
                <form action="" method="get">
                 <a class="btn btn-success" href="{eval U(['config/add','menu_id'=>'config/index'])}"> 添加配置项</a>
                </form>
            </div>
            <div class="x_content" style="display: block;">
                <table class="table">
                    <thead>
                    <tr>
                        <th width="15%">配置名称</th>
                        <th width="10%">配置KEY</th>
                        <th width="10%">配置值</th>
                        <th width="">描述</th>
                        <th width="30%">操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    {foreach $data.configs.list as $config}
                    <tr>
                        <td scope="row">{$config.config_name}</td>
                        <td>{$config.config_key}</td>
                        <td>{$config.config_value}</td>
                        <td>{$config.config_desc}</td>
                        <td>
                            <div class="x_content">
                                <a class="btn btn-primary btn-xs" href="{eval U(['config/edit','menu_id'=>'config/index','id'=>$config.id])}"> 编辑</a>
                                {*<button class="btn btn-danger btn-xs" data-toggle="dropdown">删除
                                <i class="icon-angle-down"></i></button>
                                <ul class="dropdown-menu">
                                    <li><a href="{eval U(['config/delete','menu_id'=>'config/index','id'=>$config.id])}">确定</a></li>
                                    <li><a href="javascript:;">取消</a></li>
                                </ul>*}
                            </div>
                        </td>
                    </tr>
                    {/foreach}
                    </tbody>
                </table>
            </div>
        </div>
    </div>

</div>